package com.cloud.service;



import com.cloud.dto.CloudLogRecordReqQuery;
import com.cloud.entity.CloudLogRecord;
import com.cloud.entity.SysLog;
import com.cloud.rest.PageInfoRes;

import java.util.List;
import java.util.Map;

public interface CloudLogRecordService {

    void saveBatchLog(Map<String, List<CloudLogRecord>> map);

    void createTableIfAbsent(String tableName);

    PageInfoRes<CloudLogRecord> getCloudLogRecordPage(CloudLogRecordReqQuery cloudLogRecordReqQuery);

    PageInfoRes<Void> batchInsertLog(List<SysLog> sysLogs);

    Boolean synHbase(String tableName, String size, String id) throws Exception;;
}
